home *** CD-ROM | disk | FTP | other *** search
Unknown | 1997-11-10 | 6.3 KB |
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was not able to be converted.
This format is not currently supported by dexvert.
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| file
| data
| default
| |
100%
| xdgMime
| image/x-tga
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 0d 00 0a 12 f4 20 3e 20 | 4d 61 6b 65 44 65 63 6f |..... > |MakeDeco|
|00000010| 6d 70 0d 00 14 11 de 20 | 63 6f 64 65 25 20 31 30 |mp..... |code% 10|
|00000020| 30 30 30 0d 00 1e 0d f2 | 61 73 73 28 a3 2c b9 29 |000.....|ass(.,.)|
|00000030| 0d 00 28 47 ff 22 53 61 | 76 65 20 3c 41 52 4d 6f |..(G."Sa|ve <ARMo|
|00000040| 76 69 65 24 44 69 72 3e | 2e 44 65 63 6f 6d 70 39 |vie$Dir>|.Decomp9|
|00000050| 2e 44 65 63 6f 6d 70 72 | 65 73 73 20 22 2b c3 7e |.Decompr|ess "+.~|
|00000060| 63 6f 64 65 25 2b 22 20 | 22 2b c3 7e 74 61 62 6c |code%+" |"+.~tabl|
|00000070| 65 73 74 61 72 74 25 0d | 00 32 45 c8 99 22 4f 53 |estart%.|.2E.."OS|
|00000080| 5f 46 69 6c 65 22 2c 31 | 37 2c 22 3c 41 52 4d 6f |_File",1|7,"<ARMo|
|00000090| 76 69 65 24 44 69 72 3e | 2e 44 65 63 6f 6d 70 39 |vie$Dir>|.Decomp9|
|000000a0| 2e 4d 61 6b 65 44 65 63 | 6f 6d 70 22 20 b8 20 2c |.MakeDec|omp" . ,|
|000000b0| 2c 6c 6f 61 64 25 2c 65 | 78 65 63 25 0d 00 3c 3a |,load%,e|xec%..<:|
|000000c0| c8 99 22 4f 53 5f 46 69 | 6c 65 22 2c 32 2c 22 3c |.."OS_Fi|le",2,"<|
|000000d0| 41 52 4d 6f 76 69 65 24 | 44 69 72 3e 2e 44 65 63 |ARMovie$|Dir>.Dec|
|000000e0| 6f 6d 70 39 2e 44 65 63 | 6f 6d 70 72 65 73 73 22 |omp9.Dec|ompress"|
|000000f0| 2c 6c 6f 61 64 25 0d 00 | 46 3b c8 99 22 4f 53 5f |,load%..|F;.."OS_|
|00000100| 46 69 6c 65 22 2c 33 2c | 22 3c 41 52 4d 6f 76 69 |File",3,|"<ARMovi|
|00000110| 65 24 44 69 72 3e 2e 44 | 65 63 6f 6d 70 39 2e 44 |e$Dir>.D|ecomp9.D|
|00000120| 65 63 6f 6d 70 72 65 73 | 73 22 2c 2c 65 78 65 63 |ecompres|s",,exec|
|00000130| 25 0d 00 50 33 ff 22 53 | 65 74 74 79 70 65 20 3c |%..P3."S|ettype <|
|00000140| 41 52 4d 6f 76 69 65 24 | 44 69 72 3e 2e 44 65 63 |ARMovie$|Dir>.Dec|
|00000150| 6f 6d 70 39 2e 44 65 63 | 6f 6d 70 72 65 73 73 20 |omp9.Dec|ompress |
|00000160| 46 46 44 22 0d 00 5a 0d | f2 61 73 73 28 b9 2c b9 |FFD"..Z.|.ass(.,.|
|00000170| 29 0d 00 64 47 ff 22 53 | 61 76 65 20 3c 41 52 4d |)..dG."S|ave <ARM|
|00000180| 6f 76 69 65 24 44 69 72 | 3e 2e 44 65 63 6f 6d 70 |ovie$Dir|>.Decomp|
|00000190| 39 2e 44 65 63 6f 6d 70 | 72 65 73 48 20 22 2b c3 |9.Decomp|resH "+.|
|000001a0| 7e 63 6f 64 65 25 2b 22 | 20 22 2b c3 7e 74 61 62 |~code%+"| "+.~tab|
|000001b0| 6c 65 73 74 61 72 74 25 | 0d 00 6e 3a c8 99 22 4f |lestart%|..n:.."O|
|000001c0| 53 5f 46 69 6c 65 22 2c | 32 2c 22 3c 41 52 4d 6f |S_File",|2,"<ARMo|
|000001d0| 76 69 65 24 44 69 72 3e | 2e 44 65 63 6f 6d 70 39 |vie$Dir>|.Decomp9|
|000001e0| 2e 44 65 63 6f 6d 70 72 | 65 73 48 22 2c 6c 6f 61 |.Decompr|esH",loa|
|000001f0| 64 25 0d 00 78 3b c8 99 | 22 4f 53 5f 46 69 6c 65 |d%..x;..|"OS_File|
|00000200| 22 2c 33 2c 22 3c 41 52 | 4d 6f 76 69 65 24 44 69 |",3,"<AR|Movie$Di|
|00000210| 72 3e 2e 44 65 63 6f 6d | 70 39 2e 44 65 63 6f 6d |r>.Decom|p9.Decom|
|00000220| 70 72 65 73 48 22 2c 2c | 65 78 65 63 25 0d 00 82 |presH",,|exec%...|
|00000230| 33 ff 22 53 65 74 74 79 | 70 65 20 3c 41 52 4d 6f |3."Setty|pe <ARMo|
|00000240| 76 69 65 24 44 69 72 3e | 2e 44 65 63 6f 6d 70 39 |vie$Dir>|.Decomp9|
|00000250| 2e 44 65 63 6f 6d 70 72 | 65 73 48 20 46 46 44 22 |.Decompr|esH FFD"|
|00000260| 0d 00 8c 0d f2 61 73 73 | 28 a3 2c a3 29 0d 00 96 |.....ass|(.,.)...|
|00000270| 45 ff 22 53 61 76 65 20 | 3c 41 52 4d 6f 76 69 65 |E."Save |<ARMovie|
|00000280| 24 44 69 72 3e 2e 44 65 | 63 6f 6d 70 39 2e 44 65 |$Dir>.De|comp9.De|
|00000290| 63 6f 6d 70 32 34 20 22 | 2b c3 7e 63 6f 64 65 25 |comp24 "|+.~code%|
|000002a0| 2b 22 20 22 2b c3 7e 74 | 61 62 6c 65 73 74 61 72 |+" "+.~t|ablestar|
|000002b0| 74 25 0d 00 a0 38 c8 99 | 22 4f 53 5f 46 69 6c 65 |t%...8..|"OS_File|
|000002c0| 22 2c 32 2c 22 3c 41 52 | 4d 6f 76 69 65 24 44 69 |",2,"<AR|Movie$Di|
|000002d0| 72 3e 2e 44 65 63 6f 6d | 70 39 2e 44 65 63 6f 6d |r>.Decom|p9.Decom|
|000002e0| 70 32 34 22 2c 6c 6f 61 | 64 25 0d 00 aa 39 c8 99 |p24",loa|d%...9..|
|000002f0| 22 4f 53 5f 46 69 6c 65 | 22 2c 33 2c 22 3c 41 52 |"OS_File|",3,"<AR|
|00000300| 4d 6f 76 69 65 24 44 69 | 72 3e 2e 44 65 63 6f 6d |Movie$Di|r>.Decom|
|00000310| 70 39 2e 44 65 63 6f 6d | 70 32 34 22 2c 2c 65 78 |p9.Decom|p24",,ex|
|00000320| 65 63 25 0d 00 b4 31 ff | 22 53 65 74 74 79 70 65 |ec%...1.|"Settype|
|00000330| 20 3c 41 52 4d 6f 76 69 | 65 24 44 69 72 3e 2e 44 | <ARMovi|e$Dir>.D|
|00000340| 65 63 6f 6d 70 39 2e 44 | 65 63 6f 6d 70 32 34 20 |ecomp9.D|ecomp24 |
|00000350| 46 46 44 22 0d 00 be 05 | e0 0d 00 c8 17 dd 20 f2 |FFD"....|...... .|
|00000360| 61 73 73 28 68 61 6c 66 | 25 2c 6d 61 73 68 25 29 |ass(half|%,mash%)|
|00000370| 0d 00 d2 0c 74 61 62 6c | 65 25 3d 30 0d 00 dc 0d |....tabl|e%=0....|
|00000380| e3 5a 25 3d 30 b8 32 88 | 32 0d 00 e6 1f 50 25 3d |.Z%=0.2.|2....P%=|
|00000390| 63 6f 64 65 25 3a 74 61 | 62 6c 65 73 74 61 72 74 |code%:ta|blestart|
|000003a0| 25 3d 74 61 62 6c 65 25 | 0d 00 f0 0b 5b 4f 50 54 |%=table%|....[OPT|
|000003b0| 20 5a 25 0d 00 fa 16 f4 | 20 54 68 65 20 64 65 63 | Z%.....| The dec|
|000003c0| 6f 6d 70 72 65 73 73 6f | 72 0d 01 04 16 f4 20 3d |ompresso|r..... =|
|000003d0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 0d |========|=======.|
|000003e0| 01 0e 05 f4 0d 01 18 4a | f4 20 54 68 65 20 50 6c |.......J|. The Pl|
|000003f0| 61 79 65 72 20 70 72 6f | 67 72 61 6d 20 77 69 6c |ayer pro|gram wil|
|00000400| 6c 20 6c 6f 61 64 20 74 | 68 65 20 64 65 63 6f 6d |l load t|he decom|
|00000410| 70 72 65 73 73 6f 72 20 | 61 74 20 61 20 71 75 61 |pressor |at a qua|
|00000420| 64 20 77 6f 72 64 20 61 | 6c 69 67 6e 65 64 0d 01 |d word a|ligned..|
|00000430| 22 4b f4 20 61 64 64 72 | 65 73 73 20 69 6e 20 6d |"K. addr|ess in m|
|00000440| 65 6d 6f 72 79 2e 20 49 | 74 20 77 69 6c 6c 20 74 |emory. I|t will t|
|00000450| 68 65 6e 20 70 72 6f 63 | 65 73 73 20 74 68 65 20 |hen proc|ess the |
|00000460| 70 61 74 63 68 20 74 61 | 62 6c 65 20 61 6e 64 20 |patch ta|ble and |
|00000470| 74 68 65 6e 20 63 61 6c | 6c 0d 01 2c 4b f4 20 74 |then cal|l..,K. t|
|00000480| 68 65 20 69 6e 69 74 20 | 70 6f 69 6e 74 2e 20 4c |he init |point. L|
|00000490| 61 74 65 72 20 6f 6e 20 | 74 68 65 20 70 6c 61 79 |ater on |the play|
|000004a0| 65 72 20 77 69 6c 6c 20 | 63 61 6c 6c 20 74 68 65 |er will |call the|
|000004b0| 20 64 65 63 6f 6d 70 72 | 65 73 73 6f 72 20 69 6e | decompr|essor in|
|000004c0| 20 55 53 52 0d 01 36 4f | f4 20 6d 6f 64 65 20 74 | USR..6O|. mode t|
|000004d0| 6f 20 64 65 63 6f 6d 70 | 72 65 73 73 20 74 68 65 |o decomp|ress the|
|000004e0| 20 66 69 72 73 74 20 63 | 68 75 6e 6b 27 73 20 77 | first c|hunk's w|
|000004f0| 6f 72 74 68 20 6f 66 20 | 66 72 61 6d 65 73 20 28 |orth of |frames (|
|00000500| 6f 72 20 74 6f 20 64 6f | 20 2d 65 78 70 6c 6f 64 |or to do| -explod|
|00000510| 65 29 2e 0d 01 40 49 f4 | 20 46 6f 72 20 61 20 66 |e)...@I.| For a f|
|00000520| 75 6c 6c 20 70 6c 61 79 | 2c 20 74 68 65 20 70 6c |ull play|, the pl|
|00000530| 61 79 65 72 20 77 69 6c | 6c 20 63 61 6c 6c 20 74 |ayer wil|l call t|
|00000540| 68 65 20 64 65 63 6f 6d | 70 72 65 73 73 6f 72 20 |he decom|pressor |
|00000550| 69 6e 20 49 52 51 20 6d | 6f 64 65 2e 0d 01 4a 05 |in IRQ m|ode...J.|
|00000560| f4 0d 01 54 17 f4 20 46 | 6f 72 6d 61 6c 20 69 6e |...T.. F|ormal in|
|00000570| 74 65 72 66 61 63 65 3a | 0d 01 5e 05 f4 0d 01 68 |terface:|..^....h|
|00000580| 24 f4 20 46 69 72 73 74 | 20 77 6f 72 64 3a 20 70 |$. First| word: p|
|00000590| 61 74 63 68 20 74 61 62 | 6c 65 20 6f 66 66 73 65 |atch tab|le offse|
|000005a0| 74 0d 01 72 05 f4 0d 01 | 7c 48 f4 20 20 50 75 72 |t..r....||H. Pur|
|000005b0| 70 6f 73 65 3a 20 74 6f | 20 61 6c 6c 6f 77 20 74 |pose: to| allow t|
|000005c0| 68 65 20 70 6c 61 79 65 | 72 20 74 6f 20 69 6e 73 |he playe|r to ins|
|000005d0| 65 72 74 20 70 69 78 65 | 6c 20 63 6f 6c 6f 75 72 |ert pixe|l colour|
|000005e0| 20 6c 6f 6f 6b 75 70 20 | 69 6e 20 74 68 65 0d 01 | lookup |in the..|
|000005f0| 86 4a f4 20 20 20 20 20 | 20 20 20 20 20 20 64 65 |.J. | de|
|00000600| 63 6f 6d 70 72 65 73 73 | 6f 72 2e 20 4d 61 79 20 |compress|or. May |
|00000610| 69 6e 20 66 75 74 75 72 | 65 20 61 6c 6c 6f 77 20 |in futur|e allow |
|00000620| 6f 74 68 65 72 20 76 61 | 6c 75 65 73 20 74 6f 20 |other va|lues to |
|00000630| 70 61 74 63 68 65 64 2e | 0d 01 90 47 f4 20 20 20 |patched.|...G. |
|00000640| 20 20 20 20 20 20 20 20 | 4e 6f 74 65 20 74 68 61 | |Note tha|
|00000650| 74 20 61 6e 20 75 6e 70 | 61 74 63 68 65 64 20 64 |t an unp|atched d|
|00000660| 65 63 6f 6d 70 72 65 73 | 73 6f 72 20 73 68 6f 75 |ecompres|sor shou|
|00000670| 6c 64 20 73 74 69 6c 6c | 20 77 6f 72 6b 21 21 0d |ld still| work!!.|
|00000680| 01 9a 05 f4 0d 01 a4 4b | f4 20 20 54 68 65 20 6f |.......K|. The o|
|00000690| 66 66 73 65 74 20 74 61 | 62 6c 65 20 63 6f 6e 73 |ffset ta|ble cons|
|000006a0| 69 73 74 73 20 6f 66 20 | 77 6f 72 64 73 2e 20 45 |ists of |words. E|
|000006b0| 61 63 68 20 77 6f 72 64 | 20 68 61 73 20 74 68 65 |ach word| has the|
|000006c0| 20 62 6f 74 74 6f 6d 20 | 31 36 20 62 69 74 73 0d | bottom |16 bits.|
|000006d0| 01 ae 4d f4 20 20 61 73 | 20 74 68 65 20 6f 66 66 |..M. as| the off|
|000006e0| 73 65 74 20 6f 66 20 61 | 20 77 6f 72 64 20 28 75 |set of a| word (u|
|000006f0| 73 75 61 6c 6c 79 20 61 | 6e 20 69 6e 73 74 72 75 |sually a|n instru|
|00000700| 63 74 69 6f 6e 29 20 66 | 72 6f 6d 20 74 68 65 20 |ction) f|rom the |
|00000710| 73 74 61 72 74 20 6f 66 | 20 74 68 65 0d 01 b8 4a |start of| the...J|
|00000720| f4 20 20 64 65 63 6f 6d | 70 72 65 73 73 6f 72 2e |. decom|pressor.|
|00000730| 20 54 68 65 20 74 6f 70 | 20 34 20 62 69 74 73 20 | The top| 4 bits |
|00000740| 61 72 65 20 61 6e 20 6f | 70 63 6f 64 65 20 6e 75 |are an o|pcode nu|
|00000750| 6d 62 65 72 2e 20 54 68 | 65 20 72 65 6d 61 69 6e |mber. Th|e remain|
|00000760| 69 6e 67 20 31 32 0d 01 | c2 4b f4 20 20 62 69 74 |ing 12..|.K. bit|
|00000770| 73 20 6d 61 79 20 68 61 | 76 65 20 61 20 6d 65 61 |s may ha|ve a mea|
|00000780| 6e 69 6e 67 20 66 6f 72 | 20 74 68 61 74 20 6f 70 |ning for| that op|
|00000790| 63 6f 64 65 2e 20 54 68 | 65 20 6c 69 73 74 20 69 |code. Th|e list i|
|000007a0| 73 20 74 65 72 6d 69 6e | 61 74 65 64 20 62 79 20 |s termin|ated by |
|000007b0| 61 0d 01 cc 12 f4 20 20 | 77 6f 72 64 20 6f 66 20 |a..... |word of |
|000007c0| 2d 31 2e 0d 01 d6 05 f4 | 0d 01 e0 27 f4 20 20 4f |-1......|...'. O|
|000007d0| 70 63 6f 64 65 20 30 3a | 20 70 61 74 63 68 20 69 |pcode 0:| patch i|
|000007e0| 6e 20 63 6f 6c 6f 75 72 | 20 6c 6f 6f 6b 75 70 0d |n colour| lookup.|
|000007f0| 01 ea 29 f4 20 20 20 62 | 69 74 73 20 32 37 2e 2e |..). b|its 27..|
|00000800| 32 34 3a 20 64 65 73 74 | 69 6e 61 74 69 6f 6e 20 |24: dest|ination |
|00000810| 72 65 67 69 73 74 65 72 | 0d 01 f4 24 f4 20 20 20 |register|...$. |
|00000820| 62 69 74 73 20 32 33 2e | 2e 32 30 3a 20 73 6f 75 |bits 23.|.20: sou|
|00000830| 72 63 65 20 72 65 67 69 | 73 74 65 72 0d 01 fe 30 |rce regi|ster...0|
|00000840| f4 20 20 20 62 69 74 73 | 20 31 39 2e 2e 31 37 3a |. bits| 19..17:|
|00000850| 20 70 69 78 65 6c 20 6c | 6f 6f 6b 75 70 20 74 61 | pixel l|ookup ta|
|00000860| 62 6c 65 20 72 65 67 69 | 73 74 65 72 0d 02 08 4a |ble regi|ster...J|
|00000870| f4 20 20 54 68 65 20 50 | 6c 61 79 65 72 20 61 6c |. The P|layer al|
|00000880| 74 65 72 73 20 74 68 65 | 20 77 6f 72 64 20 74 6f |ters the| word to|
|00000890| 20 6c 6f 6f 6b 75 70 20 | 74 68 65 20 70 69 78 65 | lookup |the pixe|
|000008a0| 6c 20 63 6f 6c 6f 75 72 | 2e 20 54 68 65 20 76 61 |l colour|. The va|
|000008b0| 6c 75 65 20 6f 66 0d 02 | 12 48 f4 20 20 74 68 65 |lue of..|.H. the|
|000008c0| 20 73 6f 75 72 63 65 20 | 72 65 67 69 73 74 65 72 | source |register|
|000008d0| 20 61 6e 64 20 74 68 65 | 20 73 69 7a 65 20 6f 66 | and the| size of|
|000008e0| 20 74 68 65 20 72 65 73 | 75 6c 74 20 69 6e 20 74 | the res|ult in t|
|000008f0| 68 65 20 64 65 73 74 69 | 6e 61 74 69 6f 6e 0d 02 |he desti|nation..|
|00000900| 1c 48 f4 20 20 72 65 67 | 69 73 74 65 72 20 6d 61 |.H. reg|ister ma|
|00000910| 79 20 63 68 61 6e 67 65 | 20 66 6f 72 20 64 69 66 |y change| for dif|
|00000920| 66 65 72 65 6e 74 20 64 | 65 63 6f 6d 70 72 65 73 |ferent d|ecompres|
|00000930| 73 6f 72 73 2e 20 46 6f | 72 20 66 6f 72 6d 61 74 |sors. Fo|r format|
|00000940| 20 32 20 74 68 65 0d 02 | 26 4d f4 20 20 73 6f 75 | 2 the..|&M. sou|
|00000950| 72 63 65 20 72 65 67 69 | 73 74 65 72 20 76 61 6c |rce regi|ster val|
|00000960| 75 65 20 69 73 20 65 69 | 74 68 65 72 20 52 47 42 |ue is ei|ther RGB|
|00000970| 20 6f 72 20 59 55 56 20 | 31 35 20 62 69 74 73 20 | or YUV |15 bits |
|00000980| 61 6e 64 20 74 68 65 20 | 64 65 73 74 69 6e 61 74 |and the |destinat|
|00000990| 69 6f 6e 0d 02 30 47 f4 | 20 20 76 61 6c 75 65 20 |ion..0G.| value |
|000009a0| 69 73 20 61 6c 77 61 79 | 73 20 61 20 77 6f 72 64 |is alway|s a word|
|000009b0| 20 76 61 6c 75 65 2e 20 | 41 6e 20 75 6e 70 61 74 | value. |An unpat|
|000009c0| 63 68 65 64 20 66 6f 72 | 6d 61 74 20 32 20 64 65 |ched for|mat 2 de|
|000009d0| 63 6f 6d 70 72 65 73 73 | 6f 72 0d 02 3a 22 f4 20 |compress|or..:". |
|000009e0| 20 70 72 6f 64 75 63 65 | 73 20 52 47 42 20 6f 72 | produce|s RGB or|
|000009f0| 20 59 55 56 20 6f 75 74 | 70 75 74 2e 0d 02 44 05 | YUV out|put...D.|
|00000a00| f4 0d 02 4e 23 f4 20 53 | 65 63 6f 6e 64 20 77 6f |...N#. S|econd wo|
|00000a10| 72 64 3a 20 69 6e 69 74 | 20 65 6e 74 72 79 20 70 |rd: init| entry p|
|00000a20| 6f 69 6e 74 0d 02 58 05 | f4 0d 02 62 4b f4 20 20 |oint..X.|...bK. |
|00000a30| 50 75 72 70 6f 73 65 3a | 20 74 6f 20 61 6c 6c 6f |Purpose:| to allo|
|00000a40| 77 20 74 68 65 20 64 65 | 63 6f 6d 70 72 65 73 73 |w the de|compress|
|00000a50| 6f 72 20 74 6f 20 69 6e | 69 74 69 61 6c 69 73 65 |or to in|itialise|
|00000a60| 20 61 6e 79 20 74 61 62 | 6c 65 73 20 74 68 61 74 | any tab|les that|
|00000a70| 20 61 72 65 0d 02 6c 16 | f4 20 20 20 20 20 20 20 | are..l.|. |
|00000a80| 20 20 20 20 6e 65 65 64 | 65 64 0d 02 76 05 f4 0d | need|ed..v...|
|00000a90| 02 80 10 f4 20 20 4f 6e | 20 65 6e 74 72 79 3a 0d |.... On| entry:.|
|00000aa0| 02 8a 24 f4 20 20 20 20 | 72 30 20 2d 20 73 6f 75 |..$. |r0 - sou|
|00000ab0| 72 63 65 20 78 20 73 69 | 7a 65 20 6f 66 20 6d 6f |rce x si|ze of mo|
|00000ac0| 76 69 65 0d 02 94 24 f4 | 20 20 20 20 72 31 20 2d |vie...$.| r1 -|
|00000ad0| 20 73 6f 75 72 63 65 20 | 79 20 73 69 7a 65 20 6f | source |y size o|
|00000ae0| 66 20 6d 6f 76 69 65 0d | 02 9e 1a f4 20 20 20 20 |f movie.|.... |
|00000af0| 72 32 2e 2e 72 31 32 20 | 2d 20 73 63 72 61 74 63 |r2..r12 |- scratc|
|00000b00| 68 0d 02 a8 14 f4 20 20 | 20 20 72 31 33 20 2d 20 |h..... | r13 - |
|00000b10| 73 74 61 63 6b 0d 02 b2 | 1d f4 20 20 20 20 72 31 |stack...|.. r1|
|00000b20| 34 20 2d 20 72 65 74 75 | 72 6e 20 61 64 64 72 65 |4 - retu|rn addre|
|00000b30| 73 73 0d 02 bc 1c f4 20 | 20 20 20 70 72 6f 63 65 |ss..... | proce|
|00000b40| 73 73 6f 72 20 6d 6f 64 | 65 3a 20 55 53 52 0d 02 |ssor mod|e: USR..|
|00000b50| c6 1b f4 20 20 20 20 66 | 6c 61 67 73 20 2d 20 69 |... f|lags - i|
|00000b60| 72 72 65 6c 65 76 61 6e | 74 0d 02 d0 05 f4 0d 02 |rrelevan|t.......|
|00000b70| da 28 f4 20 54 68 69 72 | 64 20 77 6f 72 64 3a 20 |.(. Thir|d word: |
|00000b80| 64 65 63 6f 6d 70 72 65 | 73 73 20 65 6e 74 72 79 |decompre|ss entry|
|00000b90| 20 70 6f 69 6e 74 0d 02 | e4 05 f4 0d 02 ee 2e f4 | point..|........|
|00000ba0| 20 20 50 75 72 70 6f 73 | 65 3a 20 64 65 63 6f 6d | Purpos|e: decom|
|00000bb0| 70 72 65 73 73 20 70 72 | 65 63 69 73 65 6c 79 20 |press pr|ecisely |
|00000bc0| 6f 6e 65 20 66 72 61 6d | 65 0d 02 f8 05 f4 0d 03 |one fram|e.......|
|00000bd0| 02 10 f4 20 20 4f 6e 20 | 65 6e 74 72 79 3a 0d 03 |... On |entry:..|
|00000be0| 0c 32 f4 20 20 20 20 72 | 30 20 74 6f 20 72 35 20 |.2. r|0 to r5 |
|00000bf0| 61 72 65 20 73 65 74 20 | 75 70 20 62 79 20 50 6c |are set |up by Pl|
|00000c00| 61 79 65 72 20 61 73 20 | 66 6f 6c 6c 6f 77 73 3a |ayer as |follows:|
|00000c10| 0d 03 16 21 f4 20 20 20 | 20 72 30 20 2d 20 73 6f |...!. | r0 - so|
|00000c20| 75 72 63 65 20 62 79 74 | 65 20 70 6f 69 6e 74 65 |urce byt|e pointe|
|00000c30| 72 0d 03 20 36 f4 20 20 | 20 20 72 31 20 2d 20 6f |r.. 6. | r1 - o|
|00000c40| 75 74 70 75 74 20 70 6f | 69 6e 74 65 72 20 2d 20 |utput po|inter - |
|00000c50| 73 61 76 65 20 6f 75 74 | 70 75 74 20 70 69 78 65 |save out|put pixe|
|00000c60| 6c 73 20 68 65 72 65 0d | 03 2a 4a f4 20 20 20 20 |ls here.|.*J. |
|00000c70| 72 32 20 2d 20 70 72 65 | 76 69 6f 75 73 20 6f 75 |r2 - pre|vious ou|
|00000c80| 74 70 75 74 20 70 6f 69 | 6e 74 65 72 20 28 61 6c |tput poi|nter (al|
|00000c90| 6c 6f 77 73 20 63 6f 70 | 79 69 6e 67 20 66 72 6f |lows cop|ying fro|
|00000ca0| 6d 20 70 72 65 76 69 6f | 75 73 20 66 72 61 6d 65 |m previo|us frame|
|00000cb0| 29 0d 03 34 27 f4 20 20 | 20 20 72 33 20 2d 20 70 |)..4'. | r3 - p|
|00000cc0| 69 78 65 6c 20 64 69 74 | 68 65 72 20 6c 6f 6f 6b |ixel dit|her look|
|00000cd0| 75 70 20 74 61 62 6c 65 | 0d 03 3e 2e f4 20 20 20 |up table|..>.. |
|00000ce0| 20 72 34 20 2d 20 72 65 | 74 75 72 6e 20 61 64 64 | r4 - re|turn add|
|00000cf0| 72 65 73 73 20 28 63 61 | 6e 27 74 20 62 65 20 72 |ress (ca|n't be r|
|00000d00| 31 34 2e 2e 2e 29 0d 03 | 48 1a f4 20 20 20 20 72 |14...)..|H.. r|
|00000d10| 35 2e 2e 72 31 32 20 2d | 20 73 63 72 61 74 63 68 |5..r12 -| scratch|
|00000d20| 0d 03 52 2e f4 20 20 20 | 20 72 31 33 20 2d 20 73 |..R.. | r13 - s|
|00000d30| 6d 61 6c 6c 20 73 74 61 | 63 6b 20 28 52 49 53 43 |mall sta|ck (RISC|
|00000d40| 20 4f 53 20 69 72 71 20 | 73 74 61 63 6b 29 0d 03 | OS irq |stack)..|
|00000d50| 5c 18 f4 20 20 20 20 72 | 31 34 20 2d 20 75 6e 75 |\.. r|14 - unu|
|00000d60| 73 65 61 62 6c 65 0d 03 | 66 3a f4 20 20 20 20 70 |seable..|f:. p|
|00000d70| 72 6f 63 65 73 73 6f 72 | 20 6d 6f 64 65 3a 20 49 |rocessor| mode: I|
|00000d80| 52 51 2c 20 69 6e 74 65 | 72 72 75 70 74 73 20 45 |RQ, inte|rrupts E|
|00000d90| 4e 41 42 4c 45 44 20 28 | 75 73 75 61 6c 6c 79 29 |NABLED (|usually)|
|00000da0| 0d 03 70 1b f4 20 20 20 | 20 66 6c 61 67 73 20 2d |..p.. | flags -|
|00000db0| 20 69 72 72 65 6c 65 76 | 61 6e 74 0d 03 7a 0e f4 | irrelev|ant..z..|
|00000dc0| 20 20 4f 6e 20 65 78 69 | 74 0d 03 84 2f f4 20 20 | On exi|t.../. |
|00000dd0| 20 20 72 30 20 2d 20 6e | 65 78 74 20 76 61 6c 75 | r0 - n|ext valu|
|00000de0| 65 20 6f 66 20 73 6f 75 | 72 63 65 20 62 79 74 65 |e of sou|rce byte|
|00000df0| 20 70 6f 69 6e 74 65 72 | 0d 03 8e 1d f4 20 20 20 | pointer|..... |
|00000e00| 20 72 31 2e 2e 72 31 32 | 20 2d 20 69 72 72 65 6c | r1..r12| - irrel|
|00000e10| 65 76 61 6e 74 0d 03 98 | 2d f4 20 20 20 20 72 31 |evant...|-. r1|
|00000e20| 33 20 2d 20 6d 75 73 74 | 20 62 65 20 73 61 6d 65 |3 - must| be same|
|00000e30| 20 76 61 6c 75 65 20 61 | 73 20 6f 6e 20 65 6e 74 | value a|s on ent|
|00000e40| 72 79 0d 03 a2 19 f4 20 | 20 20 20 72 31 34 20 2d |ry..... | r14 -|
|00000e50| 20 69 72 72 65 6c 65 76 | 61 6e 74 0d 03 ac 30 f4 | irrelev|ant...0.|
|00000e60| 20 20 20 20 70 72 6f 63 | 65 73 73 6f 72 20 6d 6f | proc|essor mo|
|00000e70| 64 65 3a 20 49 52 51 2c | 20 69 6e 74 65 72 72 75 |de: IRQ,| interru|
|00000e80| 70 74 73 20 45 4e 41 42 | 4c 45 44 0d 03 b6 1b f4 |pts ENAB|LED.....|
|00000e90| 20 20 20 20 66 6c 61 67 | 73 20 2d 20 69 72 72 65 | flag|s - irre|
|00000ea0| 6c 65 76 61 6e 74 0d 03 | c0 05 f4 0d 03 ca 46 f4 |levant..|......F.|
|00000eb0| 20 20 54 68 65 20 66 6f | 72 6d 61 74 20 32 20 64 | The fo|rmat 2 d|
|00000ec0| 65 63 6f 6d 70 72 65 73 | 73 6f 72 20 73 61 76 65 |ecompres|sor save|
|00000ed0| 73 20 70 69 78 65 6c 73 | 20 61 73 20 57 6f 72 64 |s pixels| as Word|
|00000ee0| 73 21 21 21 20 46 6f 72 | 20 66 6f 72 6d 61 74 20 |s!!! For| format |
|00000ef0| 32 0d 03 d4 38 f4 20 20 | 74 6f 20 77 6f 72 6b 2c |2...8. |to work,|
|00000f00| 20 74 68 65 20 73 6f 75 | 72 63 65 20 70 6f 69 6e | the sou|rce poin|
|00000f10| 74 65 72 20 6d 75 73 74 | 20 62 65 20 77 6f 72 64 |ter must| be word|
|00000f20| 20 61 6c 69 67 6e 65 64 | 2e 0d 03 de 05 f4 0d 03 | aligned|........|
|00000f30| e8 1c f4 20 20 66 6f 72 | 6d 61 74 20 32 20 61 63 |... for|mat 2 ac|
|00000f40| 74 75 61 6c 20 75 73 61 | 67 65 0d 03 f2 26 f4 20 |tual usa|ge...&. |
|00000f50| 20 54 68 65 20 6d 61 69 | 6e 20 65 6e 74 72 79 70 | The mai|n entryp|
|00000f60| 6f 69 6e 74 20 69 73 20 | 61 74 20 2e 64 65 63 6c |oint is |at .decl|
|00000f70| 0d 03 fc 16 f4 20 20 72 | 65 67 69 73 74 65 72 20 |..... r|egister |
|00000f80| 75 73 61 67 65 3a 0d 04 | 06 30 f4 20 20 20 20 72 |usage:..|.0. r|
|00000f90| 30 20 2d 20 73 6f 75 72 | 63 65 20 62 79 74 65 20 |0 - sour|ce byte |
|00000fa0| 70 6f 69 6e 74 65 72 20 | 28 77 6f 72 64 20 61 6c |pointer |(word al|
|00000fb0| 69 67 6e 65 64 29 0d 04 | 10 3f f4 20 20 20 20 72 |igned)..|.?. r|
|00000fc0| 31 20 2d 20 6f 75 74 70 | 75 74 20 70 6f 69 6e 74 |1 - outp|ut point|
|00000fd0| 65 72 20 2d 20 73 61 76 | 65 20 6f 75 74 70 75 74 |er - sav|e output|
|00000fe0| 20 70 69 78 65 6c 73 20 | 69 6e 20 77 6f 72 64 73 | pixels |in words|
|00000ff0| 20 68 65 72 65 0d 04 1a | 37 f4 20 20 20 20 72 32 | here...|7. r2|
|00001000| 20 2d 20 30 78 31 66 20 | 2d 20 75 73 65 66 75 6c | - 0x1f |- useful|
|00001010| 20 66 6f 72 20 65 78 74 | 72 61 63 74 69 6e 67 20 | for ext|racting |
|00001020| 35 2d 62 69 74 20 76 61 | 6c 75 65 73 0d 04 24 27 |5-bit va|lues..$'|
|00001030| f4 20 20 20 20 72 33 20 | 2d 20 70 69 78 65 6c 20 |. r3 |- pixel |
|00001040| 64 69 74 68 65 72 20 6c | 6f 6f 6b 75 70 20 74 61 |dither l|ookup ta|
|00001050| 62 6c 65 0d 04 2e 1c f4 | 20 20 20 20 72 34 20 2d |ble.....| r4 -|
|00001060| 20 72 65 74 75 72 6e 20 | 61 64 64 72 65 73 73 0d | return |address.|
|00001070| 04 38 1e f4 20 20 20 20 | 72 35 20 2d 20 6e 75 6d |.8.. |r5 - num|
|00001080| 62 65 72 20 6f 66 20 70 | 69 78 65 6c 73 0d 04 42 |ber of p|ixels..B|
|00001090| 05 f4 0d 04 4c 48 20 20 | 20 20 20 20 44 43 44 20 |....LH | DCD |
|000010a0| 74 61 62 6c 65 25 2d 63 | 6f 64 65 25 20 f4 20 6f |table%-c|ode% . o|
|000010b0| 66 66 73 65 74 20 74 6f | 20 70 61 74 63 68 20 74 |ffset to| patch t|
|000010c0| 61 62 6c 65 20 28 6f 72 | 20 7a 65 72 6f 20 69 66 |able (or| zero if|
|000010d0| 20 6e 6f 20 74 61 62 6c | 65 29 0d 04 56 23 20 20 | no tabl|e)..V# |
|000010e0| 20 20 20 20 42 20 69 6e | 69 74 20 f4 20 69 6e 69 | B in|it . ini|
|000010f0| 74 69 61 6c 69 73 65 20 | 70 69 78 6e 6f 0d 04 60 |tialise |pixno..`|
|00001100| 15 20 20 20 20 20 20 4d | 4f 56 20 72 32 2c 23 26 |. M|OV r2,#&|
|00001110| 31 66 0d 04 6a 16 20 20 | 20 20 20 20 4c 44 52 20 |1f..j. | LDR |
|00001120| 72 35 2c 70 69 78 6e 6f | 0d 04 74 16 20 20 20 20 |r5,pixno|..t. |
|00001130| 20 20 41 44 44 20 72 35 | 2c 72 35 2c 23 33 0d 04 | ADD r5|,r5,#3..|
|00001140| 7e 52 20 20 20 20 20 20 | 42 49 43 20 72 35 2c 72 |~R |BIC r5,r|
|00001150| 35 2c 23 33 20 20 20 20 | 20 20 20 20 20 20 20 20 |5,#3 | |
|00001160| f4 20 6a 75 73 74 20 74 | 6f 20 73 74 6f 70 20 61 |. just t|o stop a|
|00001170| 6e 79 20 6e 61 73 74 69 | 6e 65 73 73 2c 20 6d 61 |ny nasti|ness, ma|
|00001180| 6b 65 20 6d 75 6c 74 69 | 70 6c 65 20 6f 66 20 34 |ke multi|ple of 4|
|00001190| 0d 04 88 45 20 20 20 20 | 20 20 4d 4f 56 20 72 30 |...E | MOV r0|
|000011a0| 2c 72 30 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |,r0 | |
|000011b0| 20 20 f4 20 71 75 61 64 | 20 77 6f 72 64 20 61 6c | . quad| word al|
|000011c0| 69 67 6e 20 64 65 63 6f | 6d 70 72 65 73 73 6f 72 |ign deco|mpressor|
|000011d0| 20 6c 6f 6f 70 0d 04 92 | 45 20 20 20 20 20 20 4d | loop...|E M|
|000011e0| 4f 56 20 72 30 2c 72 30 | 20 20 20 20 20 20 20 20 |OV r0,r0| |
|000011f0| 20 20 20 20 20 20 20 f4 | 20 71 75 61 64 20 77 6f | .| quad wo|
|00001200| 72 64 20 61 6c 69 67 6e | 20 64 65 63 6f 6d 70 72 |rd align| decompr|
|00001210| 65 73 73 6f 72 20 6c 6f | 6f 70 0d 04 9c 0c 2e 64 |essor lo|op.....d|
|00001220| 65 63 6c 6f 6f 70 0d 04 | a6 37 20 20 20 20 20 20 |ecloop..|.7 |
|00001230| 4c 44 4d 49 41 20 72 30 | 20 21 2c 7b 72 36 2c 72 |LDMIA r0| !,{r6,r|
|00001240| 37 2c 72 38 7d 20 20 20 | f4 20 67 65 74 20 34 20 |7,r8} |. get 4 |
|00001250| 70 61 63 6b 65 64 20 70 | 69 78 65 6c 73 0d 04 b0 |packed p|ixels...|
|00001260| 39 20 20 20 20 20 20 42 | 49 43 20 72 39 2c 72 38 |9 B|IC r9,r8|
|00001270| 2c 23 26 66 66 30 30 30 | 30 30 30 20 20 20 20 f4 |,#&ff000|000 .|
|00001280| 20 65 78 74 72 61 63 74 | 20 66 69 72 73 74 20 28 | extract| first (|
|00001290| 32 34 62 70 70 29 0d 04 | ba 1b 20 20 20 20 20 20 |24bpp)..|.. |
|000012a0| 4d 4f 56 20 72 31 30 2c | 72 37 2c 4c 53 4c 20 23 |MOV r10,|r7,LSL #|
|000012b0| 38 0d 04 c4 31 20 20 20 | 20 20 20 84 52 20 72 31 |8...1 | .R r1|
|000012c0| 30 2c 72 31 30 2c 72 36 | 2c 4c 53 52 20 23 32 34 |0,r10,r6|,LSR #24|
|000012d0| 20 20 f4 20 65 78 74 72 | 61 63 74 20 73 65 63 6f | . extr|act seco|
|000012e0| 6e 64 0d 04 ce 1c 20 20 | 20 20 20 20 4d 4f 56 20 |nd.... | MOV |
|000012f0| 72 31 31 2c 72 38 2c 4c | 53 4c 20 23 31 36 0d 04 |r11,r8,L|SL #16..|
|00001300| d8 1c 20 20 20 20 20 20 | 80 20 72 31 31 2c 72 31 |.. |. r11,r1|
|00001310| 31 2c 23 26 66 66 30 30 | 30 30 0d 04 e2 30 20 20 |1,#&ff00|00...0 |
|00001320| 20 20 20 20 84 52 20 72 | 31 31 2c 72 31 31 2c 72 | .R r|11,r11,r|
|00001330| 37 2c 4c 53 52 20 23 31 | 36 20 20 f4 20 65 78 74 |7,LSR #1|6 . ext|
|00001340| 72 61 63 74 20 74 68 69 | 72 64 0d 04 ec 32 20 20 |ract thi|rd...2 |
|00001350| 20 20 20 20 4d 4f 56 20 | 72 31 32 2c 72 38 2c 4c | MOV |r12,r8,L|
|00001360| 53 52 20 23 38 20 20 20 | 20 20 20 20 f4 20 65 78 |SR #8 | . ex|
|00001370| 74 72 61 63 74 20 66 6f | 75 72 74 68 0d 04 f6 05 |tract fo|urth....|
|00001380| 5d 0d 05 00 0c e7 6d 61 | 73 68 25 20 8c 0d 05 0a |].....ma|sh% ....|
|00001390| 0b 5b 4f 50 54 20 5a 25 | 0d 05 14 17 20 20 20 20 |.[OPT Z%|.... |
|000013a0| 20 20 a4 63 72 75 73 68 | 28 39 2c 36 2c 37 29 0d | .crush|(9,6,7).|
|000013b0| 05 1e 18 20 20 20 20 20 | 20 a4 63 72 75 73 68 28 |... | .crush(|
|000013c0| 31 30 2c 36 2c 37 29 0d | 05 28 18 20 20 20 20 20 |10,6,7).|.(. |
|000013d0| 20 a4 63 72 75 73 68 28 | 31 31 2c 36 2c 37 29 0d | .crush(|11,6,7).|
|000013e0| 05 32 18 20 20 20 20 20 | 20 a4 63 72 75 73 68 28 |.2. | .crush(|
|000013f0| 31 32 2c 36 2c 37 29 0d | 05 3c 45 20 20 20 20 20 |12,6,7).|.<E |
|00001400| 20 a4 70 6c 6f 6f 6b 28 | 39 29 20 20 20 20 20 20 | .plook(|9) |
|00001410| 20 20 20 20 20 20 20 20 | f4 20 72 65 63 6f 72 64 | |. record|
|00001420| 20 70 61 74 63 68 20 74 | 61 62 6c 65 20 65 6e 74 | patch t|able ent|
|00001430| 72 79 20 66 6f 72 20 66 | 69 72 73 74 0d 05 46 46 |ry for f|irst..FF|
|00001440| 20 20 20 20 20 20 a4 70 | 6c 6f 6f 6b 28 31 30 29 | .p|look(10)|
|00001450| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 f4 20 2e | | . .|
|00001460| 2e 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|00001470| 20 20 20 20 20 20 20 20 | 20 20 20 20 73 65 63 6f | | seco|
|00001480| 6e 64 0d 05 50 45 20 20 | 20 20 20 20 a4 70 6c 6f |nd..PE | .plo|
|00001490| 6f 6b 28 31 31 29 20 20 | 20 20 20 20 20 20 20 20 |ok(11) | |
|000014a0| 20 20 20 f4 20 2e 2e 20 | 20 20 20 20 20 20 20 20 | . .. | |
|000014b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000014c0| 20 20 74 68 69 72 64 0d | 05 5a 46 20 20 20 20 20 | third.|.ZF |
|000014d0| 20 a4 70 6c 6f 6f 6b 28 | 31 32 29 20 20 20 20 20 | .plook(|12) |
|000014e0| 20 20 20 20 20 20 20 20 | f4 20 2e 2e 20 20 20 20 | |. .. |
|000014f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001500| 20 20 20 20 20 20 20 66 | 6f 75 72 74 68 0d 05 64 | f|ourth..d|
|00001510| 05 5d 0d 05 6e 05 cd 0d | 05 78 0c e7 68 61 6c 66 |.]..n...|.x..half|
|00001520| 25 20 8c 0d 05 82 0b 5b | 4f 50 54 20 5a 25 0d 05 |% .....[|OPT Z%..|
|00001530| 8c 1d 20 20 20 20 20 20 | 84 52 20 72 38 2c 72 38 |.. |.R r8,r8|
|00001540| 2c 72 39 2c 4c 53 4c 20 | 23 31 36 0d 05 96 20 20 |,r9,LSL |#16... |
|00001550| 20 20 20 20 20 84 52 20 | 72 31 30 2c 72 31 30 2c | .R |r10,r10,|
|00001560| 72 31 31 2c 4c 53 4c 20 | 23 31 36 0d 05 a0 41 20 |r11,LSL |#16...A |
|00001570| 20 20 20 20 20 53 54 4d | 49 41 20 72 31 20 21 2c | STM|IA r1 !,|
|00001580| 7b 72 38 2c 72 31 30 7d | 20 f4 20 73 74 6f 72 65 |{r8,r10}| . store|
|00001590| 20 34 20 70 69 78 65 6c | 73 20 69 6e 74 6f 20 6f | 4 pixel|s into o|
|000015a0| 75 74 70 75 74 20 62 75 | 66 66 65 72 0d 05 aa 05 |utput bu|ffer....|
|000015b0| 5d 0d 05 b4 05 cc 0d 05 | be 0b 5b 4f 50 54 20 5a |].......|..[OPT Z|
|000015c0| 25 0d 05 c8 48 20 20 20 | 20 20 20 53 54 4d 49 41 |%...H | STMIA|
|000015d0| 20 72 31 20 21 2c 7b 72 | 38 2c 72 39 2c 72 31 30 | r1 !,{r|8,r9,r10|
|000015e0| 2c 72 31 31 7d 20 f4 20 | 73 74 6f 72 65 20 34 20 |,r11} . |store 4 |
|000015f0| 70 69 78 65 6c 73 20 69 | 6e 74 6f 20 6f 75 74 70 |pixels i|nto outp|
|00001600| 75 74 20 62 75 66 66 65 | 72 0d 05 d2 05 5d 0d 05 |ut buffe|r....]..|
|00001610| dc 05 cd 0d 05 e6 0b 5b | 4f 50 54 20 5a 25 0d 05 |.......[|OPT Z%..|
|00001620| f0 27 20 20 20 20 20 20 | 53 55 42 53 20 72 35 2c |.' |SUBS r5,|
|00001630| 72 35 2c 23 34 20 f4 20 | 64 6f 6e 65 20 34 20 70 |r5,#4 . |done 4 p|
|00001640| 69 78 65 6c 73 0d 05 fa | 15 20 20 20 20 20 20 42 |ixels...|. B|
|00001650| 4e 45 20 64 65 63 6c 6f | 6f 70 0d 06 04 28 20 20 |NE declo|op...( |
|00001660| 20 20 20 20 4d 4f 56 20 | 70 63 2c 72 34 20 f4 20 | MOV |pc,r4 . |
|00001670| 66 69 6e 69 73 68 65 64 | 20 6f 6e 65 20 66 72 61 |finished| one fra|
|00001680| 6d 65 0d 06 0e 04 0d 06 | 18 1c f4 20 69 6e 69 74 |me......|... init|
|00001690| 20 69 73 20 72 61 74 68 | 65 72 20 74 72 69 76 69 | is rath|er trivi|
|000016a0| 61 6c 0d 06 22 04 0d 06 | 2c 09 2e 69 6e 69 74 0d |al.."...|,..init.|
|000016b0| 06 36 59 20 20 20 20 20 | 20 4d 55 4c 20 72 32 2c |.6Y | MUL r2,|
|000016c0| 72 30 2c 72 31 20 20 f4 | 20 63 6f 6d 70 75 74 65 |r0,r1 .| compute|
|000016d0| 20 74 6f 74 61 6c 20 6e | 75 6d 62 65 72 20 6f 66 | total n|umber of|
|000016e0| 20 70 69 78 65 6c 73 20 | 69 6e 20 66 72 61 6d 65 | pixels |in frame|
|000016f0| 20 28 6d 75 73 74 20 62 | 65 20 6d 75 6c 74 69 70 | (must b|e multip|
|00001700| 6c 65 20 6f 66 20 34 29 | 0d 06 40 29 20 20 20 20 |le of 4)|..@) |
|00001710| 20 20 53 54 52 20 72 32 | 2c 70 69 78 6e 6f 20 20 | STR r2|,pixno |
|00001720| f4 20 61 6e 64 20 72 65 | 6d 65 6d 62 65 72 20 69 |. and re|member i|
|00001730| 74 0d 06 4a 15 20 20 20 | 20 20 20 4d 4f 56 53 20 |t..J. | MOVS |
|00001740| 70 63 2c 72 31 34 0d 06 | 54 10 2e 70 69 78 6e 6f |pc,r14..|T..pixno|
|00001750| 20 44 43 44 20 30 0d 06 | 5e 05 5d 0d 06 68 0d 74 | DCD 0..|^.]..h.t|
|00001760| 61 62 6c 65 25 3d 50 25 | 0d 06 72 05 ed 0d 06 7c |able%=P%|..r....||
|00001770| 22 21 74 61 62 6c 65 73 | 74 61 72 74 25 3d 2d 31 |"!tables|tart%=-1|
|00001780| 3a 74 61 62 6c 65 73 74 | 61 72 74 25 2b 3d 34 0d |:tablest|art%+=4.|
|00001790| 06 86 05 e1 0d 06 90 34 | f4 20 72 65 63 6f 72 64 |.......4|. record|
|000017a0| 20 74 68 65 20 6c 6f 6f | 6b 75 70 20 6f 66 20 64 | the loo|kup of d|
|000017b0| 69 74 68 65 72 65 64 20 | 76 65 72 73 69 6f 6e 20 |ithered |version |
|000017c0| 6f 66 20 70 69 78 65 6c | 0d 06 9a 10 dd 20 a4 70 |of pixel|..... .p|
|000017d0| 6c 6f 6f 6b 28 72 6e 29 | 0d 06 a4 10 e7 74 61 62 |look(rn)|.....tab|
|000017e0| 6c 65 25 3c 3e 30 20 8c | 0d 06 ae 41 21 74 61 62 |le%<>0 .|...A!tab|
|000017f0| 6c 65 73 74 61 72 74 25 | 3d 26 30 30 30 30 3c 3c |lestart%|=&0000<<|
|00001800| 32 38 20 84 20 72 6e 3c | 3c 32 34 20 84 20 72 6e |28 . rn<|<24 . rn|
|00001810| 3c 3c 32 30 20 84 20 33 | 3c 3c 31 36 20 84 20 28 |<<20 . 3|<<16 . (|
|00001820| 50 25 2d 63 6f 64 65 25 | 29 0d 06 b8 12 74 61 62 |P%-code%|)....tab|
|00001830| 6c 65 73 74 61 72 74 25 | 2b 3d 34 0d 06 c2 05 cd |lestart%|+=4.....|
|00001840| 0d 06 cc 0b 5b 4f 50 54 | 20 5a 25 0d 06 d6 0e 20 |....[OPT| Z%.... |
|00001850| 4d 4f 56 20 72 6e 2c 72 | 6e 0d 06 e0 05 5d 0d 06 |MOV rn,r|n....]..|
|00001860| ea 06 3d 30 0d 06 f4 16 | dd 20 a4 63 72 75 73 68 |..=0....|. .crush|
|00001870| 28 72 6e 2c 72 69 2c 72 | 6a 29 0d 06 fe 0b 5b 4f |(rn,ri,r|j)....[O|
|00001880| 50 54 20 5a 25 0d 07 08 | 19 20 80 20 72 69 2c 72 |PT Z%...|. . ri,r|
|00001890| 32 2c 72 6e 2c 4c 53 52 | 20 23 31 36 2b 33 0d 07 |2,rn,LSR| #16+3..|
|000018a0| 12 18 20 80 20 72 6a 2c | 72 32 2c 72 6e 2c 4c 53 |.. . rj,|r2,rn,LS|
|000018b0| 52 20 23 38 2b 33 0d 07 | 1c 17 20 84 52 20 72 69 |R #8+3..|.. .R ri|
|000018c0| 2c 72 6a 2c 72 69 2c 4c | 53 4c 20 23 35 0d 07 26 |,rj,ri,L|SL #5..&|
|000018d0| 16 20 80 20 72 6a 2c 72 | 32 2c 72 6e 2c 4c 53 52 |. . rj,r|2,rn,LSR|
|000018e0| 20 23 33 0d 07 30 17 20 | 84 52 20 72 6e 2c 72 6a | #3..0. |.R rn,rj|
|000018f0| 2c 72 69 2c 4c 53 4c 20 | 23 35 0d 07 3a 05 5d 0d |,ri,LSL |#5..:.].|
|00001900| 07 44 06 3d 30 0d ff | |.D.=0.. | |
+--------+-------------------------+-------------------------+--------+--------+